<?php
include 'controlador.php';
$c = new Controller();
$c->closeSession();
?>
<html>
    <head>
        <title>
            <?php            
            echo $c->getTitle(0);
            ?>
        </title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
    <!--<IMG border="0" align="middle" height="141" width="1350" src="images/head.jpg"> -->
    <body>

        <div id="wrapper">
            <div id="header">
                <div id="logo">			
                    <h1><a>
                            <?php
                            echo $c->getTitle(0);
                            ?>
                        </a></h1>
                    <p><a> 
                            <?php
                            echo $c->getTitle(1);
                            ?>			 
                        </a></p>
                </div>

            </div>
            <!-- end #header -->
            <div id="menu">
                <ul>
                    <li class="current_page_item"><a href="index.php">Inicio</a></li>		
                </ul>
            </div>
            <!-- end #menu -->
            <div id="page">
                <div id="page-bgbtm">
                    <div id="content">
                        <div class="post">                            
                            <FORM action="<?php echo $c->f_action(1); ?>" method="POST">
                                USUARIO: <INPUT type="text" name="nomUsr">
                                PASSWORD: <INPUT type="password" name="passUsr">
                                <INPUT type="submit" name="btnSubmit" value="Ingresar">
                            </FORM>				
                        </div>
                        <?php if($_GET['msg'] == 'errorLogin') echo '<img src="images/icon_error.png"/> &nbsp   Ingrese Usuario/Contraseña correctos '; ?>

                        <div style="clear: both;">&nbsp;</div>
                    </div>
                    <!-- end #content -->
                    <div id="sidebar">
                        <ul><li>
                                <h2>
                                    <?php echo $c->getTexto(5); ?>
                                </h2>
                                <p>
                                    <?php echo $c->getTexto(6); ?>
                                </p>
                            </li></ul>
                        <ul><li>
                                <h2>
                                    <?php echo $c->getTexto(1); ?>
                                </h2>
                                <p>
                                    <?php echo $c->getTexto(2); ?>
                                </p>
                            </li></ul>
                    </div>
                    <!-- end #sidebar -->
                    <div style="clear: both;">&nbsp;</div>
                </div>
            </div>
            <!-- end #page -->
        </div>	
    </body>
</html>
